package com.hotelvip.enumEntity;

import com.hotelvip.common.utils.enumconfig.BaseEnum;
import lombok.Getter;

/**
 * 年龄段
 * @author Lzh
 * @date 2020/12/11 16:21
 */
@Getter
public enum AgeGroupEnum implements BaseEnum {
    O("18-30",0),
    one("31-40",1),
    two("41-50",2),
    three("51-60",3),
    four("60以上",4),
    five("其他",5);

    //成员变量
    private String name;
    private Integer index;
    //构造方法
    AgeGroupEnum(String name,int index){
        this.name = name;
        this.index = index;
    }
}
